package com.ujoku.service;

import com.labillusion.core.database.base.mybatis.service.base.BaseService;
import com.ujoku.domain.Favorite;

import java.util.List;

/**
 * Created by Andy.Lian on 2015/1/28.
 */
public interface FavoriteService<T> extends BaseService<T> {
    List<Favorite> getFavoritesByUserId(int user_id);

    Favorite getFavoriteGoodsByUserId(int user_id,int goods_id);

    int deleteFavoriteByGoodsId(int user_id, String goods_id);
}
